import {StyleSheet, Text, TouchableWithoutFeedback, View} from 'react-native';
import React from 'react';
import SvgBack from '../../assets/svg/back.svg';
import {useNavigation} from '@react-navigation/native';
const PageBack = () => {
  const navigation = useNavigation();
  return (
    <TouchableWithoutFeedback
      onPress={() => {
        navigation.goBack();
      }}>
      <View>
        <SvgBack></SvgBack>
      </View>
    </TouchableWithoutFeedback>
  );
};

export default PageBack;

const styles = StyleSheet.create({});
